package org.styx.account.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @date 2021/8/6
 * @auther uranus
 */
@Data
@TableName("tb_account")
public class Account {
    /**
     * 主键
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    private BigDecimal total;
    private BigDecimal used;
    private BigDecimal residue;
    private BigDecimal frozen;
}
